package com.weishi.project.api.vo.appvo;

import com.weishi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

/**
 * 接收水上陆上分段数据实体类
 */
@Data
public class SubsectionDTO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键 id")
    private Integer id;

    @ApiModelProperty(value = "训练日 id")
    private Integer trainingDayId;

    @ApiModelProperty(value = "里程")
    private Double mileage;

    @ApiModelProperty(value = "浆频")
    private String propellerFrequency;

    @ApiModelProperty(value = "时长")
    private String lengthTime;

    @ApiModelProperty(value = "速度")
    private Double speed;

    @ApiModelProperty(value = "平均功率")
    private String power;

    @ApiModelProperty(value = "瓦特")
    private String watt;

    @ApiModelProperty(value = "分组 id")
    private Integer groupId;

    @ApiModelProperty(value = "成绩 id")
    private Integer channelId;

    @ApiModelProperty(value = "判断时间还是公里数 0 是公里数 1 是时间")
    private Integer trainingMode;

    @ApiModelProperty(value = "总里程")
    private Double rowingKilometers;

    @ApiModelProperty(value = "总成绩")
    private String achievement;

    @ApiModelProperty(value = "桨数")
    private Integer pulpNumber;

    @ApiModelProperty(value = "船速仪 id")
    private String shipSpeedId;

    @ApiModelProperty(value = "分段序号（ 0 ，1 ，2 ，3）")
    private Integer stage;

    @ApiModelProperty(value = "运动员列表")
    private List<Person> person;




    /**
     * 运动员列表
     */
    @Data
    public static class Person{

        @ApiModelProperty(value = "主键 id")
        private Integer id;

        @ApiModelProperty(value = "运动员 id")
        private Integer sportsmanId;

        @ApiModelProperty(value = "心率")
        private Integer heartRate;

    }


}
